package com.mes.biz.mapper;

import com.mes.biz.domain.BizConfig;
import com.mes.biz.domain.BizOrderProduct;
import com.mes.biz.domain.BizProductionOrder;
import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 生产单Mapper接口
 * @author hwg
 * @email hwg
 * @date 2023-03-27
 */
public interface BizProductionOrderMapper extends BaseMapper<BizProductionOrder>
{

    List<BizProductionOrder> getProcessDetailList(@Param("orderId") String orderId, @Param("userId") String userId);

    BizProductionOrder getProductionOrderByOrderIdWithProductId(@Param("orderId") String orderId, @Param("productId") String productId);

    List<BizProductionOrder> getProductionOrderByOrderId(@Param("orderId") String orderId);
}
